﻿@{
    ViewBag.Title = "ExhibitorsRegister";
    Layout = "~/Views/Shared/_LayoutNoLeftNav.cshtml";
}
	<link href="/js/valums/fileuploader.css" rel="stylesheet" type="text/css">	
        <script src="/js/valums/fileuploader.js" type="text/javascript"></script>
    <script>
        function createUploader() {
            var uploader = new qq.FileUploader({
                element: document.getElementById('file-uploader-demo1'),
                action: '/File/Upload',
                debug: true,
                sizeLimit:50000,
                onComplete: function (id, fileName, responseJSON) {
                    console.log(responseJSON.fileName);
                }

            });
        }

        // in your app create uploader as soon as the DOM is ready
        // don't wait for the window to load  
        window.onload = createUploader;     
    </script>   
	<div id="file-uploader-demo1">		
		<noscript>			
			<p>Please enable JavaScript to use file uploader.</p>
			<!-- or put a simple form for upload here -->
		</noscript>         
	</div>